﻿# Initialize a new Hashtable
# Empty
$hsh = @{ }

# Not empty
$hsh = @{ FirstName = "John"; LastName = "Smith" }
write $hsh

# Access values by key using indexer or property notation
write "$($hsh['firstname'])'s last name is $($hsh.lastname)"

# Add new name-val pair on the fly
$hsh.phonenumber = "555-5555"
write $hsh
